num = list(range(1,1000001))

min_num = min(num)
max_num = max(num)
sum_num = sum(num)

print(f"最小值：{min_num}")
print(f"最大值：{max_num}")
print(f"总和：{sum_num}")

